package com.zf.yichat.model;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "mission_complain")
public class MissionComplain implements Serializable {
    @Id
    private Long id;

    @Column(name = "mission_id")
    private Long missionId;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    private Date ctime;

    private static final long serialVersionUID = 1L;

    public MissionComplain(Long id, Long missionId, Long userId, Date ctime) {
        this.id = id;
        this.missionId = missionId;
        this.userId = userId;
        this.ctime = ctime;
    }

    public MissionComplain() {
        super();
    }

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return mission_id
     */
    public Long getMissionId() {
        return missionId;
    }

    /**
     * @param missionId
     */
    public void setMissionId(Long missionId) {
        this.missionId = missionId;
    }

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * @return ctime
     */
    public Date getCtime() {
        return ctime;
    }

    /**
     * @param ctime
     */
    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }
}